//
//  HMCheapTableViewCell.m
//  HMMarket
//
//  Created by haohao on 2017/6/15.
//  Copyright © 2017年 homai. All rights reserved.
//

#import "HMCheapTableViewCell.h"

@implementation HMCheapTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _nameLabel.textColor = k888888;
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    // Initialization code
}

- (void)setTicket:(CouponDetail *)ticket {
    if (ticket == nil) {
        _nameLabel.text = @"请选择优惠券";
    } else {
        _nameLabel.text = [NSString stringWithFormat:@"已使用¥%@优惠券", ticket.cut_price];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
